home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
progs
/
editor
/
frexxed
/
fpl
/
repeatfunction.fpl
< prev
next >
Wrap
Text File
|
1995-07-18
|
326b
|
16 lines
export void RepeatFunction()
{
string func;
int number;
CursorActive(0);
Status(0, "Give keystroke!");
func=KeyPress();
if (strlen(func)) {
number=PromptInt("Repeat function", 0, func);
Visible(0);
while (--number>=0)
ExecuteString(func);
}
}
AssignKey("RepeatFunction();", "Amiga Control r");